<?php
class Zend_View_Helper_UserIsTrusted {
	
	protected $_view;
	function setView($view) { 
		$this->_view = $view; 
	}
	
	function userIsTrusted($userId) {
		$table = new User();
		$user = $table->find($userId)->current();
		return $user->trusted;
	}
}
?>